package edu.xlh.travel.pojo.querypojo;

import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Entity;
import javax.persistence.Id;
import java.io.Serializable;
import java.util.Date;

/**
 * 实体类
 *
 * @author Administrator
 */
@Entity
@Data
@Accessors(chain = true)
public class QueryOnlineUserInfo implements Serializable {
    @Id
    private String id;
    private String name;
    private String loginedIp;
    private String loginedAdd;
    private String loginedBrowser;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date loginedTime;
}
